import openpyxl
from openpyxl import load_workbook
from openpyxl.drawing.image import Image
from openpyxl.drawing.spreadsheet_drawing import AnchorMarker, OneCellAnchor
from openpyxl.drawing.xdr import XDRPositiveSize2D
from openpyxl.utils.units import pixels_to_EMU

def getRowValues(ws, row):
    columns = ws.max_column
    rowdata = []
    for i in range(1, columns + 1):
        cellvalue = ws.cell(row=row, column=i).value
        rowdata.append(cellvalue)
    return rowdata


if __name__ == '__main__':

    path = ""
    print((2-1)/1+(3-2)/2+(4-3)/3+(5-4)/4)
    print((5-1)/1)
    # CurrentStockFileName = path + "CurrentStock.xlsx"
    # CurrentStock = openpyxl.load_workbook(CurrentStockFileName)
    # CurrentSheet = CurrentStock["Sheet1"]
    # rows = CurrentSheet.max_row
    # defect_row = getRowValues(CurrentSheet, 4)
    # print(defect_row)